import * as types from '../../mutation-types/report/index';

const state = {
	reportAddData : [],
	ownerList : [],
	capacityData: [],
	contactDeptList: [],
    contactPersonList: []
};

const mutations = {
	[types.REPORT_ADD_DATA] (state , {reportAddData}){
		state.reportAddData = reportAddData;
	},
	[types.OWNER_LIST] (state , {ownerList}){
		state.ownerList = ownerList;
	},
    [types.CAPACITY_DATA] (state , {capacityData}){
        state.capacityData = capacityData;
    }
    ,
    [types.CONTACT_DEPT_LIST] (state , {contactDeptList}){
        state.contactDeptList = contactDeptList;
    }
    ,
    [types.CONTACT_PERSON_LIST] (state , {contactPersonList}){
        state.contactPersonList = contactPersonList;
    }
};

export default {
	state ,
	mutations
};
